package com.itcncp.wechat.app.dao.mapper;

import com.itcncp.wechat.app.dao.model.UserCustomerChangeRgt;
import com.itcncp.wechat.app.dao.model.UserCustomerChangeRgtExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserCustomerChangeRgtMapper {
    long countByExample(UserCustomerChangeRgtExample example);

    int deleteByExample(UserCustomerChangeRgtExample example);

    int deleteByPrimaryKey(Long customersId);

    int insert(UserCustomerChangeRgt record);

    int insertSelective(UserCustomerChangeRgt record);

    List<UserCustomerChangeRgt> selectByExample(UserCustomerChangeRgtExample example);

    UserCustomerChangeRgt selectByPrimaryKey(Long customersId);

    int updateByExampleSelective(@Param("record") UserCustomerChangeRgt record, @Param("example") UserCustomerChangeRgtExample example);

    int updateByExample(@Param("record") UserCustomerChangeRgt record, @Param("example") UserCustomerChangeRgtExample example);

    int updateByPrimaryKeySelective(UserCustomerChangeRgt record);

    int updateByPrimaryKey(UserCustomerChangeRgt record);
}